package com.yimi.policyservice.repository;

import com.yimi.policyservice.entity.base.system.SysDataDict;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author jack
 */
public interface SysDataDictRepository extends JpaRepository<SysDataDict,String> {

    List<SysDataDict> findByDataKeyOrderByDictDisplayOrder(String key);
}
